package com.changpay.zywy.mvp.contract

import com.changpay.zywy.base.IModel
import com.changpay.zywy.base.IPresenter
import com.changpay.zywy.base.IView
import com.changpay.zywy.bean.*
import io.reactivex.Observable

interface CountTrendContract {

    interface View : IView {
        fun showTrend(data: TrendBean)
    }

    interface Presenter : IPresenter<View> {
        fun getTrend(map: MutableMap<String, String>)
    }

    interface Model : IModel {
        fun getTrend( map: MutableMap<String, String>): Observable<HttpResult<TrendBean>>
    }
}